import { ResponseData } from "@/api/home/type";
// 医院详情数据
export interface hostitaldetail {
  bookingRule: {
    cycle: number;
    releaseTime: string;
    stopTime: string;
    quitDay: number;
    quitTime: string;
    rule: string[];
  };
  hospital: {
    id: string;
    createTime: string;
    updateTime: string;
    isDeleted: number;
    param: {
      hostypeString: string;
      fullAddress: string;
    };
    hoscode: string;
    hosname: string;
    hostype: string;
    provinceCode: string;
    cityCode: string;
    districtCode: string;
    address: string;
    logoData: string;
    intro: null;
    route: string;
    status: number;
    bookingRule: null;
  };
}
//单个科室的信息
export interface department {
  depcode: string;
  depname: string;
  children: department[];
}
// 返回的医院详情的接口
export interface hospitaldetailResponse extends ResponseData {
  data: hostitaldetail;
}
//返回的科室信息接口
export interface departmentInfo extends ResponseData {
  data: department[];
}
